<form class="pure-form pure-form-aligned" method="post" action="<?php echo URL; ?>myItems/submit_step2/" >
    <fieldset>
        <legend>
            Step 2: Additional Information
        </legend>

        <?php foreach($this->fields as $field): ?>
            <?php if ( $field['Field'] != 'item_id'): ?>
                <div class="pure-control-group">
                    <label for="<?php echo $field['Field'];?>"><?php echo $field['Field'];?></label>
                    <?php if ( $field['Type'] == 'text'): ?>
                        <input type="text" name="<?php echo $field['Field'];?>" class="pure-input-1-2" />
                    <?php else: ?>
                        <input type="number" name="<?php echo $field['Field'];?>" class="pure-input-1-2" />
                    <?php endif; ?>
                </div>
            <?php endif; ?>
        <?php endforeach; ?>
       
        <div class="pure-controls">
            <button type="submit" class="pure-button pure-button-success">
                Continue
            </button>
        </div>
    </fieldset>
</form>


